package com.controller;

import com.dao.CourseDao;
import com.entity.Chapter;
import com.entity.Course;
import com.entity.Resource;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.servlet.http.HttpSession;

@Controller
public class SelectController {

    @RequestMapping("/front_select.do")
    public String front_select(String course_name, HttpSession session){
        session.setAttribute("course_name",course_name);
        return "front/front_select";
}

}
